/*
 * Created: Author: Aléx Carvalho / Date: Feb 22, 2015
 * 
 * Changed: $Author: ac280593@gmail.com $ / $Date: 2015-06-11 01:31:49 -0300 (Thu, 11 Jun 2015) $
 */
package com.cpm.view.zk.field;

import com.cpm.view.Element;
import org.zkoss.zk.ui.HtmlBasedComponent;
import org.zkoss.zul.Intbox;

public class IntField implements Element<HtmlBasedComponent> {
    
    private final Intbox intbox = new Intbox();

    public IntField() {
    }
    
    public IntField(Integer value) { intbox.setValue(value); }
    
    @Override
    public HtmlBasedComponent getElement() { return intbox; }
}